package com.zbec.mdrs.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.zbec.mdrs.entity.RecordEntity;
import com.zbec.mdrs.entity.history.History;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



public class LoanVo extends RecordEntityVo implements Serializable {

    private String zzjgdm;//组织机构代码
    private String qymc;//企业名称
    private String sjsj;//数据时间
    private String jrjgbm;//金融机构编码
    private String jrjgwdmc;//金融机构网点名称
    private String wdssqu;//网点所属地区
    private String dkhth;//贷款合同号
    private String nbpj;//内部对企业评级结果
    private String wbpj;//外部对企业评级
    private String dkjjh;//贷款借据号
    private String bz;//币种
    private BigDecimal jbll;//基本利率
    private BigDecimal llfd;//利率浮动
    private BigDecimal sjll;//实际利率
    private String dklb;//贷款类别
    private BigDecimal dkffje;//贷款发放金额
    private BigDecimal dkye;//贷款余额
    private Date fkrq;//放款日期
    private Date dqrq;//到期日期
    private Date zqrq;//展期日期
    private String dbfs;//担保方式
    private String bzmx;//保证明细
    private BigDecimal bzje;//保证金额
    private String dymx;//抵押明细
    private BigDecimal dyje;//抵押金额
    private String zymx;//质押明细
    private BigDecimal zyje;//质押金额
    private BigDecimal qxje;//欠息金额
    private String wjfl;//五级分类

    private String bzDesc;
    private String wjflDesc;
    private String dklbDesc;
    private String wdssquDesc;

    public LoanVo(){

    }

    public LoanVo(Long id,String zzjgdm, String qymc, String sjsj, String jrjgbm, String jrjgwdmc,
                  String wdssqu, String dkhth, String nbpj, String wbpj, String dkjjh,
                  String bz, BigDecimal jbll, BigDecimal llfd, BigDecimal sjll, String dklb,
                  BigDecimal dkffje , BigDecimal dkye, Date fkrq, Date dqrq, Date zqrq, String dbfs,
                  String bzmx, BigDecimal bzje, String dymx, BigDecimal dyje, BigDecimal zyje,
                  BigDecimal qxje , String zymx, String wjfl,String source, String recordStatus, String reportStatus,
                  String existError, String errorDesc, String missedField,Long recordId) {
        this.id = id;
        this.zzjgdm = zzjgdm;
        this.qymc = qymc;
        this.sjsj = sjsj;
        this.jrjgbm = jrjgbm;
        this.jrjgwdmc = jrjgwdmc;
        this.wdssqu = wdssqu;
        this.dkhth = dkhth;
        this.nbpj = nbpj;
        this.wbpj = wbpj;
        this.dkjjh = dkjjh;
        this.bz = bz;
        this.jbll = jbll;
        this.llfd = llfd;
        this.sjll = sjll;
        this.dklb = dklb;
        this.dkffje = dkffje;
        this.dkye = dkye;
        this.fkrq = fkrq;
        this.dqrq = dqrq;
        this.zqrq = zqrq;
        this.dbfs = dbfs;
        this.bzmx = bzmx;
        this.bzje = bzje;
        this.dymx = dymx;
        this.dyje = dyje;
        this.zyje = zyje;
        this.qxje = qxje;
        this.zymx = zymx;
        this.wjfl = wjfl;
        this.source = source;
        this.recordStatus = recordStatus;
        this.reportStatus = reportStatus;
        this.existError = existError;
        this.errorDesc = errorDesc;
        this.missedField = missedField;
        this.recordId = recordId;
    }

    public BigDecimal getDkffje() {
        return dkffje;
    }

    public void setDkffje(BigDecimal dkffje) {
        this.dkffje = dkffje;
    }

    public BigDecimal getDkye() {
        return dkye;
    }

    public void setDkye(BigDecimal dkye) {
        this.dkye = dkye;
    }

    public String getDklb() {
        return dklb;
    }

    public void setDklb(String dklb) {
        this.dklb = dklb;
    }

    public String getZzjgdm() {
        return zzjgdm;
    }

    public void setZzjgdm(String zzjgdm) {
        this.zzjgdm = zzjgdm;
    }

    public String getQymc() {
        return qymc;
    }

    public void setQymc(String qymc) {
        this.qymc = qymc;
    }

    public String getSjsj() {
        return sjsj;
    }

    public void setSjsj(String sjsj) {
        this.sjsj = sjsj;
    }

    public String getJrjgbm() {
        return jrjgbm;
    }

    public void setJrjgbm(String jrjgbm) {
        this.jrjgbm = jrjgbm;
    }

    public String getJrjgwdmc() {
        return jrjgwdmc;
    }

    public void setJrjgwdmc(String jrjgwdmc) {
        this.jrjgwdmc = jrjgwdmc;
    }

    public String getWdssqu() {
        return wdssqu;
    }

    public void setWdssqu(String wdssqu) {
        this.wdssqu = wdssqu;
    }

    public String getDkhth() {
        return dkhth;
    }

    public void setDkhth(String dkhth) {
        this.dkhth = dkhth;
    }

    public String getNbpj() {
        return nbpj;
    }

    public void setNbpj(String nbpj) {
        this.nbpj = nbpj;
    }

    public String getWbpj() {
        return wbpj;
    }

    public void setWbpj(String wbpj) {
        this.wbpj = wbpj;
    }

    public String getDkjjh() {
        return dkjjh;
    }

    public void setDkjjh(String dkjjh) {
        this.dkjjh = dkjjh;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public BigDecimal getJbll() {
        return jbll;
    }

    public void setJbll(BigDecimal jbll) {
        this.jbll = jbll;
    }

    public BigDecimal getLlfd() {
        return llfd;
    }

    public void setLlfd(BigDecimal llfd) {
        this.llfd = llfd;
    }

    public BigDecimal getSjll() {
        return sjll;
    }

    public void setSjll(BigDecimal sjll) {
        this.sjll = sjll;
    }

    public Date getFkrq() {
        return fkrq;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    public void setFkrq(Date fkrq) {
        this.fkrq = fkrq;
    }

    public Date getDqrq() {
        return dqrq;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    public void setDqrq(Date dqrq) {
        this.dqrq = dqrq;
    }

    public Date getZqrq() {
        return zqrq;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    public void setZqrq(Date zqrq) {
        this.zqrq = zqrq;
    }

    public String getDbfs() {
        return dbfs;
    }

    public void setDbfs(String dbfs) {
        this.dbfs = dbfs;
    }

    public String getBzmx() {
        return bzmx;
    }

    public void setBzmx(String bzmx) {
        this.bzmx = bzmx;
    }

    public BigDecimal getBzje() {
        return bzje;
    }

    public void setBzje(BigDecimal bzje) {
        this.bzje = bzje;
    }

    public String getDymx() {
        return dymx;
    }

    public void setDymx(String dymx) {
        this.dymx = dymx;
    }

    public BigDecimal getDyje() {
        return dyje;
    }

    public void setDyje(BigDecimal dyje) {
        this.dyje = dyje;
    }

    public BigDecimal getZyje() {
        return zyje;
    }

    public void setZyje(BigDecimal zyje) {
        this.zyje = zyje;
    }

    public BigDecimal getQxje() {
        return qxje;
    }

    public void setQxje(BigDecimal qxje) {
        this.qxje = qxje;
    }

    public String getZymx() {
        return zymx;
    }

    public void setZymx(String zymx) {
        this.zymx = zymx;
    }

    public String getWjfl() {
        return wjfl;
    }

    public void setWjfl(String wjfl) {
        this.wjfl = wjfl;
    }

    public String getBzDesc() {
        return bzDesc;
    }

    public void setBzDesc(String bzDesc) {
        this.bzDesc = bzDesc;
    }

    public String getWjflDesc() {
        return wjflDesc;
    }

    public void setWjflDesc(String wjflDesc) {
        this.wjflDesc = wjflDesc;
    }

    public String getDklbDesc() {
        return dklbDesc;
    }

    public void setDklbDesc(String dklbDesc) {
        this.dklbDesc = dklbDesc;
    }
    public String getWdssquDesc() {
        return wdssquDesc;
    }

    public void setWdssquDesc(String wdssquDesc) {
        this.wdssquDesc = wdssquDesc;
    }

}